Palladio Simulation

Companioning paper written by Frank Brüseke, Henning Wachsmuth, Steffen Becker, Gregor Engels

Licenses and Copyright

Prerequisites

Steps

Run simulation

  1. Import the project into your workspace:
    • In the menu choose "File" => "Import ..."
      In the popup window choose "General" => "Existing Projects into Workspace" and click "Next"
    • Select <WS-dir> in the field "Select root directory" and choose the project named "UIMA-7partPipe" in Projects field. Then click "Finish".
  2. Start the simulation:
    1. In the menu choose "Run" => "Run Configurations ..."
    2. Add a new "SimuBench" entry
    3. Specify the allocation model file from the workspace, use "/UIMA-7partPipe/7PartPipe-EX01.allocation"
    4. Specify the usage model file from the workspace, use "/UIMA-7partPipe/7PartPipe-EX01.usagemodel"

    5. Go to "SimuCom" tab of the run configuration
    6. Set "Maximum simulation time" to 1250000 (limit will not be reached), and set "Maximum measurement count" to 2000
    7. Select a Data source (use "Browse"-button in picture). So, either create a file data source (file-based storage in a sub-folder) for persistent measurement storage or use the memory data source. Also set the "Experiment name" to "7PartPipe-EX01".
    8. Save your settings with the "Apply"-Button and hit "Run" to start the simulation

Browse simulation results

  1. Open the "PCM Results" perspective:
    • In the menu click "Window" => "Open Perspective" => "Other ..."
    • In the popup window choose "PCM Results" and click "OK"
  2. Open the data source that you used for simulation, open the experiment with name "7PartPipe-EX01" (unless you chose another name; default: "MyRun"), open "Experiment Runs", finally pick the experiment you just started and open that too.
  3. You will see a big list of sensor. Some of these do not contain any data these sensors are marked with the word "EMPTY". Scroll down until you find sensors that have data in them.

  4. Double click on a sensor to display diagrams showing the measured values. (Note: R visualization will not work as you need to couple R with Palladio for that)
  5. As a last step export the response time data series for all the non-empty sensors. For each sensor right-click on them and choose "Save as CSV". Then select a sub-folder of <dataPath> to save the data series. In the result analysis part we will reference the sub-folder as "<dataPath>/<palladioData>"

[top] [back]

Impressum | Webmaster | Geändert am / changed: 27.08.2014